
<?php cascading_require_once('__l.SmpRSS.php') ?>
<?php $rss = new SmpRSS($feed, 1800) ?>
<?php if (($handler = $rss->GetRssObject()) && sizeof($handler->aItems)): ?>
<?php foreach ($handler->aItems as $count => $item): ?>
<?php if (isset($size) && $size == $count) break; ?>
<li><a href="<?php echo htmlspecialchars(trim($item->sLink)) ?>" title="<?php echo excerpt(str_replace('&amp;', '&', htmlspecialchars(strip_tags($item->sDescription?$item->sDescription:$item->sTitle)))) ?>"<?php echo isset($follow)?'':' rel="nofollow"' ?><?php echo !isset($target)?'':' target="'.$target.'"' ?>><?php echo str_replace('&amp;', '&', htmlspecialchars(trim($item->sTitle))) ?></a></li>
<?php endforeach ?>
<?php endif ?>

